﻿<!--
    
 @Name：不落阁整站模板源码
 @Author：Absolutely
 @Site：http://www.lyblogs.cn

 -->

{% load static %}


<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; Charset=gb2312">
    <meta http-equiv="Content-Language" content="zh-CN">
    <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"/>
    <title>不落阁 - 一个.NET程序员的个人博客网站</title>
    <link rel="shortcut icon" href="{% static '/images/Logo_40.png' %}" type="image/x-icon">
    <!--Layui-->
    <link href="{% static '/plug/layui/css/layui.css' %}" rel="stylesheet"/>
    <!--font-awesome-->
    <link href="{% static '/plug/font-awesome/css/font-awesome.min.css' %}" rel="stylesheet"/>
    <!--全局样式表-->
    <link href="{% static '/css/global.css' %}" rel="stylesheet"/>
    <!-- home -->
    <link href="{% static '/css/home.css' %}" rel="stylesheet"/>
    <!-- resource -->
    <link href="{% static '/css/resource.css' %}" rel="stylesheet"/>
    <!-- timeline -->
    <link href="{% static '/css/timeline.css' %}" rel="stylesheet"/>
    <!-- about -->
    <link href="{% static '/css/about.css' %}" rel="stylesheet"/>

    {% block css %}{% endblock %}
{% comment %}        <!-- 比较好用的代码着色插件 -->
    <link href="{% static '/css/prettify.css' %}" rel="stylesheet" />
    <!-- 本页样式表 -->
    <link href="{% static '/css/detail.css' %}" rel="stylesheet" />{% endcomment %}

</head>
<body>
<!-- 导航 -->
<nav class="blog-nav layui-header">
    <div class="blog-container">
        <!-- QQ互联登陆 -->
        <a href="javascript:;" class="blog-user">
            <i class="fa fa-qq"></i>
        </a>
        <a href="javascript:;" class="blog-user layui-hide">
            <img src="{% static '/images/Absolutely.jpg' %}" alt="Absolutely" title="Absolutely"/>
        </a>
        <!-- 不落阁 -->
        <a class="blog-logo" href="base_content.html">不落阁</a>
        <!-- 导航菜单 -->
        <ul class="layui-nav" lay-filter="nav">
            {% if data.title == 'home' %}
                <li class="layui-nav-item {{ data.layui_this }}">
                    <a href="{% url 'home' %}"><i class="fa fa-home fa-fw"></i>&nbsp;网站首页</a>
                </li>
            {% else %}
                <li class="layui-nav-item">
                    <a href="{% url 'home' %}"><i class="fa fa-home fa-fw"></i>&nbsp;网站首页</a>
                </li>
            {% endif %}

            {% if data.title == 'article' %}
                <li class="layui-nav-item {{ data.layui_this }}">
                    <a href="{% url 'article' %}"><i class="fa fa-file-text fa-fw"></i>&nbsp;文章专栏</a>
                </li>
            {% else %}
                <li class="layui-nav-item">
                    <a href="{% url 'article' %}"><i class="fa fa-file-text fa-fw"></i>&nbsp;文章专栏</a>
                </li>
            {% endif %}

            {% if title == 'resource' %}
                <li class="layui-nav-item {{ layui_this }}">
                    <a href="{% url 'resource' %}"><i class="fa fa-tags fa-fw"></i>&nbsp;资源分享</a>
                </li>
            {% else %}
                <li class="layui-nav-item">
                    <a href="{% url 'resource' %}"><i class="fa fa-tags fa-fw"></i>&nbsp;资源分享</a>
                </li>
            {% endif %}

            {% if title == 'timeline' %}
                <li class="layui-nav-item {{ layui_this }}">
                    <a href="{% url 'timeline' %}"><i class="fa fa-hourglass-half fa-fw"></i>&nbsp;点点滴滴</a>
                </li>
            {% else %}
                <li class="layui-nav-item">
                    <a href="{% url 'timeline' %}"><i class="fa fa-hourglass-half fa-fw"></i>&nbsp;点点滴滴</a>
                </li>
            {% endif %}
        
            {% if title == 'about' %}
                <li class="layui-nav-item {{ layui_this }}">
                    <a href="{% url 'about' %}"><i class="fa fa-info fa-fw"></i>&nbsp;关于本站</a>
                </li>
            {% else %}
                <li class="layui-nav-item">
                    <a href="{% url 'about' %}"><i class="fa fa-info fa-fw"></i>&nbsp;关于本站</a>
                </li>
            {% endif %}
        </ul>
        <!-- 手机和平板的导航开关 -->
        <a class="blog-navicon" href="javascript:;">
            <i class="fa fa-navicon"></i>
        </a>
    </div>
</nav>
<!-- 主体（一般只改变这里的内容） -->
<div class="blog-body">
    <!-- canvas -->
    {% block canvas %}{% endblock %}
    <!-- 这个一般才是真正的主体内容 -->
    {% block content %}{% endblock %}
</div>
<!-- 底部 -->
<footer class="blog-footer">
    <p><span>Copyright</span><span>&copy;</span><span>2017</span><a href="http://www.lyblogs.cn">不落阁</a><span>Design By LY</span>
    </p>
    <p><a href="http://www.miibeian.gov.cn/" target="_blank">蜀ICP备16029915号-1</a></p>
</footer>
<!--侧边导航-->
<ul class="layui-nav layui-nav-tree layui-nav-side blog-nav-left layui-hide" lay-filter="nav">
    <li class="layui-nav-item layui-this">
        <a href="{% url 'home' %}"><i class="fa fa-home fa-fw"></i>&nbsp;网站首页</a>
    </li>
    <li class="layui-nav-item">
        <a href="{% url 'article'  %}"><i class="fa fa-file-text fa-fw"></i>&nbsp;文章专栏</a>
    </li>
    <li class="layui-nav-item">
        <a href="{% url 'resource' %}"><i class="fa fa-tags fa-fw"></i>&nbsp;资源分享</a>
    </li>
    <li class="layui-nav-item">
        <a href="{% url 'timeline' %}"><i class="fa fa-road fa-fw"></i>&nbsp;点点滴滴</a>
    </li>
    <li class="layui-nav-item">
        <a href="{% url 'about' %}"><i class="fa fa-info fa-fw"></i>&nbsp;关于本站</a>
    </li>
</ul>
<!--分享窗体-->
<div class="blog-share layui-hide">
    <div class="blog-share-body">
        <div style="width: 200px;height:100%;">
            <div class="bdsharebuttonbox">
                <a class="bds_qzone" data-cmd="qzone" title="分享到QQ空间"></a>
                <a class="bds_tsina" data-cmd="tsina" title="分享到新浪微博"></a>
                <a class="bds_weixin" data-cmd="weixin" title="分享到微信"></a>
                <a class="bds_sqq" data-cmd="sqq" title="分享到QQ好友"></a>
            </div>
        </div>
    </div>
</div>
<!--遮罩-->
<div class="blog-mask animated layui-hide"></div>
{#</script>#}
<!-- layui.js -->
<script src="{% static '/plug/layui/layui.js' %}"></script>
<!-- 全局脚本 -->
<script src="{% static '/js/global.js' %}"></script>
<!-- 本页脚本 -->
<script src="{% static '/js/home.js' %}"></script>
<script src="{% static '/js/about.js' %}"></script>
<script src="{% static '/js/detail.js' %}"></script>
<script src="{% static '/js/prettify.js' %}"></script>
{% block js %}{% endblock %}
{#<script>#}
{#</script>#}
</body>
</html>